import org.junit.Test;
import java.util.Arrays;
import java.util.function.Function;
public class FunctionDemo {
    @Test
    public void ff() {

        String lower = showLower(str -> str.toLowerCase());
        System.out.println("转为小写为:" + lower);



    }
    public static String showLower (Function < String, String > function){
        String resVal = function.apply("Hello Lambda");
        return resVal;


    }
}
